<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%@ include file="/include/meta.jsp"%>
    <title>用户信息</title>
    <link rel="stylesheet" type="text/css" href="wro/edit.css" />
</head>
<body>
    <input type="hidden" id='userId' value='${systemUser.id }' />
    <table class='view'>
        <tr>
            <th>名称</th>
            <td>${systemUser.name }</td>
            <th>性别</th>
            <td><span class="nameDisplay" itemId="${systemUser.sex }"></span></td>
        </tr>
        <tr>
            <th>登陆账号</th>
            <td>${systemUser.account }</td>
            <th>用户状态</th>
            <td><span class="nameDisplay" itemId="${systemUser.state }"></span></td>
        </tr>
        <tr>
            <th>所在部门</th>
            <td><span class="nameDisplay" itemId="${systemUser.organizationId }"></span></td>
            <th>头衔</th>
            <td><span class="nameDisplay" itemId="${systemUser.title }"></span></td>
        </tr>
        <tr>
            <th>用户角色</th>
            <td id='role' colspan="3">
            </td>
        </tr>
        <tr>
            <th>固定电话</th>
            <td>${systemUser.telephone }</td>
            <th>移动电话</th>
            <td>${systemUser.mobile }</td>
        </tr>
        <tr>
            <th>邮箱</th>
            <td colspan="3">${systemUser.email }</td>
        </tr>
        <tr>
            <th>备注</th>
            <td colspan="3">${systemUser.memo }</td>
        </tr>
    </table>
    <div class="text-center" style='margin-top:10px;'>
        <input type="submit" value="修改" class='btn btn-primary' onclick="doNavigate('system/user!update.action',{'systemUser.id':'${systemUser.id }'});" />
        <input type="button" value="关闭" class='btn btn-warning' onclick="closeDialog();" />
    </div>
    <script type="text/javascript" src="wro/edit.js"></script>
    <script type="text/javascript" src="res/page/system/user_view.js"></script>
</body>
</html>